/**
 * 
 */
package io.gitee.falllee.dao.core;

import java.util.Map;

import io.gitee.falllee.dao.model.BaseDaoConfig;
import io.gitee.falllee.dao.util.FilterPlus;

/**
 * @author batty
 * @date 2022-06-28
 *
 */
public class UpdateFilterBuilder<T> extends FilterBuilder {
    
    private UpdateBuilder<T> updateBuilder;
    
    UpdateFilterBuilder(UpdateBuilder<T> parent, BaseDaoConfig daoConfig, FilterPlus filter) {
        super(daoConfig, filter);
        this.updateBuilder = parent;
    }
    
    public Boolean update(Map<String, Object> fieldValueMap) {
        return updateBuilder.update(fieldValueMap, filter);
    }
}
